// 
//  EVECDQueueItem.m
//  EVE Mac Suite
//
//  Created by Vadim Lozko on 6/22/09.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import "EVECDQueueItem.h"

#import "EVECDCharacter.h"
#import "EVECDLearnedSkill.h"
#import "EMSSkillTrainingInfo.h"

@implementation EVECDQueueItem 

@dynamic position;
@dynamic queuedLevel;
@dynamic trainingTime;
@dynamic queuedFor;
@dynamic queuedSkill;

-(NSNumber*)trainingTime
{
	return [NSNumber numberWithDouble:[EMSSkillTrainingInfo trainingTimeForLevel:self.queuedLevel.intValue 
																 forLearnedSkill:self.queuedSkill]];
}

@end